<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="margin-top: 200px;margin-left: 100px">
    <form action="/gateway/trade/confirm" method="get" >
        <table border="1" bgcolor="#add8e6" align="center">
            <tr>
                <td>商品名称</td>
                <td th:text="${origin.productName}"></td>
            </tr>
            <tr>
                <td>订单金额</td>
                <td th:text="${origin.orderMoney}"></td>
            </tr>
            <tr>
                <td>订单号</td>
                <td th:text="${origin.orderNo}"></td>
            </tr>


            <tr th:each=" way:${payWays}" align="left">
                <td colspan="2"  align="left">
                    <input type="radio" name="wayTypeCode" th:value="|${way.wayCode}:${way.typeCode}|"
                           th:text="|${way.wayName}-${way.typeName}|">
                </td>
            </tr>

            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="确认支付">
                </td>
            </tr>
        </table>

        <input type="hidden" name="userNo" th:value="${origin.userNo}">
        <input type="hidden" name="appKey" th:value="${origin.appKey}">
        <input type="hidden" name="payProductCode" th:value="${origin.payProductCode}">
        <input type="hidden" name="productId" th:value="${origin.productId}">
        <input type="hidden" name="productName" th:value="${origin.productName}">
        <input type="hidden" name="productNum" th:value="${origin.productNum}">
        <input type="hidden" name="payerId" th:value="${origin.payerId}">
        <input type="hidden" name="payerConcat" th:value="${origin.payerConcat}">
        <input type="hidden" name="orderMoney" th:value="${origin.orderMoney}">
        <input type="hidden" name="pageUrl" th:value="${origin.pageUrl}">
        <input type="hidden" name="notifyUrl" th:value="${origin.notifyUrl}">
        <input type="hidden" name="orderNo" th:value="${origin.orderNo}">
        <input type="hidden" name="orderTime" th:value="${origin.orderTime}">
        <input type="hidden" name="sign" th:value="${origin.sign}">

    </form>

</div>
</body>
</html>
